import request from '@/utils/request'

export function getAlldepartment() {
  return request({
    url: '/user/departmentMsg',
    method: 'post'

  })
}

export function getallNurse() {
  return request({
    url: '/humen/nurseMsg',
    method: 'post'

  })
}


export function getDoctors(data) {
  return request({
    url: '/user/doctorMsg',
    method: 'post',
    data
  })
}

export function addAppointment(data) {
  return request({
    url: '/user/addAppointment',
    method: 'post',
    data
  })
}


